package cn.com.greatwall.generator.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import cn.com.greatwall.db.mapper.SuperMapper;

/**
 * @Author herw
 * @Time 2022-03-21 20:04:11
 * @Version 1.0
 * @Description: TODO(用一句话描述该文件做什么)
 */
@Component
@Mapper
public interface SysGeneratorMapper extends SuperMapper {
    List<Map<String, Object>> queryList(Page<Map<String, Object>> page, @Param("p") Map<String, Object> map);
    
    int queryTotal(Map<String, Object> map);
    
    Map<String, String> queryTable(String tableName);
    
    List<Map<String, String>> queryColumns(String tableName);
}
